# JSMin - breaks jQuery?

**URL:** <https://forum.kirupa.com/t/jsmin-breaks-jquery/276755>\
**Category:** programming\
**Created:** [December 3, 2008, 10:39am UTC](https://forum.kirupa.com/t/jsmin-breaks-jquery/276755 "2008-12-03T10:39:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Post date:** [December 3, 2008, 10:39am UTC](https://forum.kirupa.com/t/jsmin-breaks-jquery/276755/1 "2008-12-03T10:39:57Z")

</div>

I’m using JSMin to compress my Javascripts on the fly - [http://code.google.com/p/jsmin-php/](http://code.google.com/p/jsmin-php/).

Unfortunately, it seems to break any jQuery source I have - whether it be pre-minified, packed, or neither.

Firebug says “$ is not defined” - so obviously any time that I use jQuery, I get errors.

Any reason why?

Thanksies
