diff --git a/visual_select_file.module b/visual_select_file.module
index 477ac4f..6f2e711 100644
--- a/visual_select_file.module
+++ b/visual_select_file.module
@@ -21,6 +21,13 @@ function visual_select_file_form_node_form_alter(&$form, &$form_state) {
 }
 
 /**
+ * Implements hook_form_FORM_ID_alter() for user_profile_form().
+ */
+function visual_select_file_form_user_profile_form_alter(&$form, &$form_state) {
+  $form['#attached']['js'][] = drupal_get_path('module', 'visual_select_file') . '/visual_select_file.js';
+}
+
+/**
  * Implements theme_preprocess_views_view_field().
  */
 function visual_select_file_preprocess_views_view_field(&$vars) {
