diff --git a/fancybox.module b/fancybox.module
index 44f6108..09d775b 100644
--- a/fancybox.module
+++ b/fancybox.module
@@ -87,7 +87,7 @@ function fancybox_activate($settings = NULL) {
     }
     
     // Add Fancybox files.
-    $path = libraries_get_path('fancybox') . DIRECTORY_SEPARATOR;
+    $path = libraries_get_path('fancybox') . DIRECTORY_SEPARATOR . 'fancybox' . DIRECTORY_SEPARATOR;
     $files = variable_get('fancybox_files', array());
 
     // TODO: add easing
@@ -601,7 +601,7 @@ function fancybox_field_formatter_view($entity_type, $entity, $field, $instance,
  * Detect needed script and stylesheet in specified path
  */
 function _detect_fancybox_files() {
-  $path = libraries_get_path('fancybox');
+  $path = libraries_get_path('fancybox') . DIRECTORY_SEPARATOR . 'fancybox';
 
   $js_files = glob(getcwd() . DIRECTORY_SEPARATOR . $path . DIRECTORY_SEPARATOR . 'jquery.fancybox-*.js');
   $css_files = glob(getcwd() . DIRECTORY_SEPARATOR . $path . DIRECTORY_SEPARATOR . 'jquery.*.css');
