diff --git a/fancybox.module b/fancybox.module
index c7cee5c..381b470 100644
--- a/fancybox.module
+++ b/fancybox.module
@@ -606,7 +606,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') . '/' . 'fancybox' . '/';
 
   $js_files = glob(getcwd() . DIRECTORY_SEPARATOR . $path . DIRECTORY_SEPARATOR . 'jquery.fancybox-*.js');
   $css_files = glob(getcwd() . DIRECTORY_SEPARATOR . $path . DIRECTORY_SEPARATOR . 'jquery.*.css');
@@ -621,7 +621,7 @@ function _detect_fancybox_files() {
 
 function _set_fancybox_files() {
   $files = _detect_fancybox_files();
-  $path = libraries_get_path('fancybox');
+  $path = libraries_get_path('fancybox') . '/' . 'fancybox' . '/';
 
   if (empty($files['js']) || empty($files['css'])) {
     drupal_set_message(t('No Fancybox plugin found in @path, install the Fancybox plugin and go to the Fancybox settings page for the files to be found', array('@path' => $path)), 'warning');
