diff --git a/chosen.module b/chosen.module
index cf0401a..d4637af 100644
--- a/chosen.module
+++ b/chosen.module
@@ -115,7 +115,7 @@ function chosen_field_widget_form_alter(&$element, &$form_state, $context) {
  * Implements hook_library().
  */
 function chosen_library() {
-  $library_path = module_exists('libraries') ? libraries_get_path('chosen') : 'sites/all/libraries/chosen';
+  $library_path = chosen_get_chosen_path();
   $info['chosen'] = array(
     'title' => 'Chosen',
     'website' => CHOSEN_WEBSITE_URL,
@@ -220,6 +220,7 @@ function chosen_pre_render_select($element) {
  */
 function chosen_get_chosen_path() {
   $path = FALSE;
+  $profile = drupal_get_profile();
   if (function_exists('libraries_get_path')) {
     $path = libraries_get_path('chosen');
     if (!file_exists($path)) {
@@ -229,5 +230,8 @@ function chosen_get_chosen_path() {
   elseif (file_exists('sites/all/libraries/chosen/chosen.jquery.min.js')) {
     $path = 'sites/all/libraries/chosen';
   }
+  elseif (file_exists("profiles/$profile/libraries/chosen/chosen.jquery.min.js")) {
+    $path = "profiles/$profile/libraries/chosen";
+  }
   return $path;
 }
