jQuery itself is not built for custom use. There are many interdependencies between its own functions, and the source is not laid out to be easily modular. Unlike the situation with plugins such as jQuery-UI, the jQuery core is pretty much βit-or-leave-itβ.
If you used only a few simple functions, you can rewrite them in simple JavaScript. If the main function that you use is a selector, you can use Sizzle , which is the basic selector library that jQuery uses. Otherwise ... really.
source share