There are lots of ways to shrink files, but this is a testimonial for yui-compressor. On my Ubuntu distro it’s one of the packages known to the package manager. Install and you’re ready to go. From the command line:
yui-compressor myfile.js > myfile.min.js
If only my waistline was so easy to shrink.