I am looking for a simple script that would minify the CSS or JS file given as a parameter, in an efficient way.<p>I know about Yahoo's Java tool but it's overkill since I don't use Java AT ALL in my projects and would like to avoir having to install a JVM just for this.<p>The main technology I use is PHP but Bash or Python or Perl could be ok. This script would be integrated in our deployment mecanism, which is written in PHP.<p>Do you know any tool that could help me minify my files ? Or a lib that could be integrated into our deployment process ?<p>Thanks in advance.