Why do I get jQuery reference error / undefined when changing name of plugin file?

No idea why the change of folder name makes a difference, but you should add jquery as dependency in your enqueue

wp_enqueue_script(
        'wtfjs',
        plugins_url( '/js/wtf.js' , __FILE__),
        array('jquery')
    );   

File not found.