Install the Advanced CSS/JS Aggregation module

Drupal 6.x has a built-in JavaScript compression tool at Administer > Site Configuration > Performance, near Bandwith Optimizations. However, end-user performance can be taken one step further by minifying that file. The Drupal JavaScript Aggregator module provides that option. Files are minified once, and refreshed when needed.

Uses JSMin.

Advantages

  • Minifies the JavaScript files before compression
  • Reduces end-user load times and server bandwidth

References

Morningtime