diff --git a/libraries.module b/libraries.module
index c4146c3..b316b55 100644
--- a/libraries.module
+++ b/libraries.module
@@ -6,6 +6,13 @@
  */
 
 /**
+ * Implements hook_flush_caches().
+ */
+function libraries_flush_caches() {
+  return array('cache_libraries');
+}
+
+/**
  * Gets the path of a library.
  *
  * @param $name
