This CSS minification tool uses a JavaScript port of the YUI Compressor from here.