First, I love the YUI Compressor , its just a great, yet simple tool, unfortunately it can only handle one File (input) at the Time so I wrote a small Bash Script to handle that matter … I noticed that in the most scenarios you have to always delete the minified file. So i added a line to the script let it take care of that.