diff --git a/hoverintent.info b/hoverintent.info
index f683da8..0ac7a15 100644
--- a/hoverintent.info
+++ b/hoverintent.info
@@ -1,4 +1,5 @@
 name = "hoverIntent"
 description = "Wrapper for the hoverIntent jQuery Plugin."
+dependencies[] = libraries
 package = User interface
 core = 7.x
\ No newline at end of file
diff --git a/hoverintent.module b/hoverintent.module
index 0abe157..d9d3e91 100644
--- a/hoverintent.module
+++ b/hoverintent.module
@@ -18,8 +18,8 @@ function hoverintent_library() {
     'website' => 'http://cherne.net/brian/resources/jquery.hoverIntent.html', 
     'version' => 'r6', 
     'js' => array(
-      drupal_get_path('module', 'hoverintent') . '/js/jquery.hoverIntent.minified.js' => array(),
-    ), 
+      libraries_get_path('hoverintent') . '/jquery.hoverIntent.minified.js' => array('group' => JS_LIBRARY, 'weight' => 0),
+    ),
   );
   return $libraries;
-}
\ No newline at end of file
+}
diff --git a/js/jquery.hoverIntent.minified.js b/js/jquery.hoverIntent.minified.js
deleted file mode 100644
index 75c22ca..0000000
--- a/js/jquery.hoverIntent.minified.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
-* hoverIntent r6 // 2011.02.26 // jQuery 1.5.1+
-* <http://cherne.net/brian/resources/jquery.hoverIntent.html>
-* 
-* @param  f  onMouseOver function || An object with configuration options
-* @param  g  onMouseOut function  || Nothing (use configuration options object)
-* @author    Brian Cherne brian(at)cherne(dot)net
-*/
-(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev])}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev])};var handleHover=function(e){var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t)}if(e.type=="mouseenter"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob)},cfg.timeout)}}};return this.bind('mouseenter',handleHover).bind('mouseleave',handleHover)}})(jQuery);
\ No newline at end of file
