Possible Duplicate:
How to minify jquery files?
Are there any tools, which can minify jQuery code, like jQuery.com do it itself?
Possible Duplicate:
How to minify jquery files?
Are there any tools, which can minify jQuery code, like jQuery.com do it itself?
You might try Google's Closure tools. There is an online minifier service as well.
I've used YUI Compressor in the past. It's easy to use and it does a really good job.
You might want to take a look at YUI Compressor
It can compress javascript and css.
There is also the Ajax Minifier from Microsoft:
http://www.asp.net/ajaxlibrary/AjaxMinDocumentation.ashx
You can even add it as a build job to a asp.net project and it will minify any javascript or css everytime it publishes. That way, you don't have to keep up with two references and still get readable versions to debug with...