jscsscomp is a PHP script what compress JavaScript and CSS files when they are requested from the server.

for a litl bit more info wisit http://code.google.com/p/jscsscomp/