I am a Google Maps API (javascript) developer. I have noticed that Google uses a Javascript minifier that has the following features:
A simple online javascript minifier based on dojo's shrink safe can be found at http://netspurt.com