Ant-build is a project mainly written in ..., it's free.
A basic Ant script to concatenate and minify JS and CSS files for production. For more info, see project homepage.